<!--

    Copyright (c) 2009, 2018 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<a name="task-ejbcontaineravailability"></a><h4>To Configure Availability Settings for the EJB Container</h4><a name="indexterm-3"></a><a name="indexterm-4"></a><a name="indexterm-5"></a><a name="indexterm-6"></a><ol>
<li><b>In the navigation tree, expand the Configuration node.</b></li>
<li><b>Select the configuration that you are changing.</b></li>
<li><b>Under the configuration's node, select the Availability Service node.</b><p>The Availability Service page opens.</p></li>
<li><b>On the Availability Service page, click the EJB Container Availability tab.</b><p>The EJB Container Availability page opens.</p></li>
<li><b>In the Availability Service field, check the Enabled box to enable availability for
the EJB container.</b><p>To disable availability, remove the check from the Availability Service Enabled box.</p></li>
<li><b>In the HA Persistence Type field, the persistence mechanism is <tt>replicated</tt>.</b><p>This is the persistence mechanism used when Availability Service Enabled is checked. Persistence is
based on failover in a cluster. Do not change this value.</p></li>
<li><b>In the SFSB Persistence Type field, the persistence mechanism is <tt>file</tt>.</b><p>This is the persistence mechanism used when Availability Service Enabled is <b>not</b> checked. Persistence
is based on the file system. Do not change this value.</p><p>The Session Store Location field determines where SFSB checkpoint states are persisted. To
set the Session Store Location, see <a href="task-ejbgeneral.html">To Configure EJB Settings</a>.</p></li>
<li><b>To restore default values, click the Load Defaults button.</b></li>
<li>(Optional) <b>In the Additional Properties section, specify additional properties.</b><p>The Payara Server does not define any additional properties for EJB container availability.</p><ul>
<li><b>To add a property, click the Add Property button. In the blank row
that appears, type the property name in the Name field, and type the
property value in the Value field.</b></li>
<li><b>To modify a property, edit that property's Value field.</b></li>
<li><b>To delete a property, select the checkbox to the left of the Name
field of the property that you are deleting, then click the Delete Properties
button.</b></li></ul></li>
<li><b>Click Save.</b></li></ol><h6>See Also</h6>
<ul><li><p><a href="task-ejbgeneral.html">To Configure EJB Settings</a></p>

</li>
<li><p><a href="http://docs.sun.com/doc/821-2463/task-ejbmdbpoolsettings?a=view">To Configure MDB Pool Settings</a></p>

</li>
<li><p><a href="http://docs.sun.com/doc/821-2463/task-ejbtimerservice?a=view">To Configure the EJB Timer Service</a></p>

</li></ul>


<small>Copyright &#169; 2010, 2017, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></small>
